From 4d3b93e2ad1041fa36e740cba35284d17752e928 Mon Sep 17 00:00:00 2001 From: William Manley Date: Wed, 31 Aug 2016 17:25:22 +0100 Subject: [PATCH] switchroot: Fix build on Ubuntu Was failing with error: src/switchroot/ostree-prepare-root.c:30:20: fatal error: config.h: No such file or directory compilation terminated. Reported by and fix provided by @gatispaeglis. Closes: #485 Approved by: cgwalters --- Makefile-switchroot.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am index 9c215e44..0b30a965 100644 --- a/Makefile-switchroot.am +++ b/Makefile-switchroot.am @@ -38,7 +38,7 @@ if BUILDOPT_USE_STATIC_COMPILER ostree_boot_SCRIPTS = ostree-prepare-root ostree-prepare-root : $(ostree_prepare_root_SOURCES) - $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) + $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(DEFAULT_INCLUDES) else ostree_boot_PROGRAMS += ostree-prepare-root -- 2.30.2